import request from "@/api/request";

// 获取购买类型
export function getPurchaseType() {
 return request({
    method: "GET",
    url: "/api/v/admin/order/list/",
 });
}
// 获取人员分布
export function getUserRoles() {
 return request({
    method: "GET",
    url: "/api/v/admin/personneldistribution/",
 });
}
// 获取卡片数据
export function getCard() {
 return request({
    method: "GET",
    url: "/api/v/admin/cardstatistics/",
 });
}

// 获取当日上传作品数量
export function getUploadWork() {
 return request({
    method: "GET",
    url: "/api/v/admin/artwork/list/",
 });
}
// 获取当日上传作品数量
export function getComments() {
 return request({
    method: "GET",
    url: "/api/v/admin/CommentStatistic/list/",
 });
}
// 获取艺术家作品数量排名（前五)
export function getMaterialstatistic() {
 return request({
    method: "GET",
    url: "/api/v/admin/ArtistsTop/list/",
 });
}

